<wicket:panel xmlns:wicket="http://wicket.apache.org">

  <form wicket:id="passwordForm" class="form-horizontal" role="form">

    <div wicket:id="panelFeedback"></div>

    <div class="form-group">
      <label class="col-sm-2 control-label">
        <wicket:message key="changepassword.oldpassword" />
      </label>
      <div class="col-sm-10 col-md-6">
        <input class="form-control" wicket:id="oldpassword" type="password" />
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">
        <wicket:message key="changepassword.newpassword" />
      </label>
      <div class="col-sm-10 col-md-6">
        <input class="form-control" wicket:id="newpassword" type="password" />
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">
        <wicket:message key="changepassword.confirmpassword" />
      </label>
      <div class="col-sm-10 col-md-6">
        <input class="form-control" wicket:id="confirm" type="password" />
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10 col-md-6">
        <input type="submit" class="btn btn-primary" wicket:id="submit" wicket:message="value:changepassword.submit">
      </div>
    </div>

  </form>

</wicket:panel>